package com.starry.compose_study.state.utils

import com.starry.compose_study.state.one.TodoIcon
import com.starry.compose_study.state.one.TodoItem

fun generateRandomTodoItem(): TodoItem {
    val message = listOf(
        "learn compose",
        "learn state",
        "learn compose state",
        "learn LiveData",
        "learn ViewModel",
        "learn Android"
    ).random()
    val icon = TodoIcon.values().random()
    return TodoItem(message, icon)
}